package com.kingdee.pda.callback;

import com.kingdee.pda.ui.widget.CustomHScrollView;

/**
 * @author：dlj
 * @data：2022/1/13
 * @des：
 */
public class MyOnScrollChangedListener implements CustomHScrollView.OnScrollChangedListener {
    private CustomHScrollView mScrollViewArg;

    public MyOnScrollChangedListener(CustomHScrollView scrollViewar) {
        mScrollViewArg = scrollViewar;
    }

    @Override
    public void onScrollChanged(int l, int t, int oldl, int oldt) {
        mScrollViewArg.smoothScrollTo(l, t);
    }
}
